//
//  GTWeChatDynamicParams.m
//  GTW
//
//  Created by Ran on 15/11/12.
//  Copyright (c) 2015年 xcode. All rights reserved.
//

#import "GTWeChatDynamicSettings.h"

@implementation GTWeChatDynamicSettings

+ (NSDictionary *)attributesWithFont: (UIFont *)font color: (UIColor *)color
{
    return @{NSFontAttributeName: font, NSForegroundColorAttributeName: color};
}

+ (NSDictionary *)userNameTextAttributes
{
    return [self attributesWithFont:[UIFont systemFontOfSize:15] color:[UIColor blackColor]];
}

+ (NSDictionary *)timeTextAttributes
{
    return [self attributesWithFont:[UIFont systemFontOfSize:12] color:[UIColor grayColor]];
}

+ (NSDictionary *)locationTextAttributes
{
    return [self attributesWithFont:[UIFont systemFontOfSize:12] color:[UIColor grayColor]];
}

+ (NSDictionary *)contentTextAttributes
{
    return [self attributesWithFont:[UIFont systemFontOfSize:13] color:[UIColor blackColor]];
}

+ (NSDictionary *)unfoldButtonTextAttributes
{
    return [self attributesWithFont:[UIFont systemFontOfSize:13] color:[UIColor blackColor]];
}

+ (NSDictionary *)atTextAttributes
{
    return [self attributesWithFont:[UIFont systemFontOfSize:12] color:[UIColor blueColor]];
}

+ (NSDictionary *)linkTextAttributes
{
    return [self attributesWithFont:[UIFont systemFontOfSize:12] color:[UIColor blueColor]];
}

+ (NSDictionary *)tagTextAttributes
{
    return [self attributesWithFont:[UIFont systemFontOfSize:12] color:[UIColor darkGrayColor]];
}

+ (NSDictionary *)likeTextAttributes
{
    return [self attributesWithFont:[UIFont systemFontOfSize:12] color:[UIColor blueColor]];
}

+ (NSDictionary *)likeNumTextAttributes
{
    return [self attributesWithFont:[UIFont systemFontOfSize:12] color:[UIColor lightGrayColor]];
}

+ (NSDictionary *)commentNumTextAttributes
{
    return [self likeNumTextAttributes];
}

+ (NSDictionary *)commentUserTextAttributes
{
    return [self attributesWithFont:[UIFont systemFontOfSize:12] color:[UIColor blueColor]];
}

+ (NSDictionary *)commentTextAttributes
{
    return [self attributesWithFont:[UIFont systemFontOfSize:12] color:[UIColor darkGrayColor]];
}

+ (UIColor *)backgroundColor
{
    return [UIColor whiteColor];
}

+ (UIColor *)tagBackgroundColor
{
    return [UIColor lightGrayColor];
}

+ (UIColor *)likeAndCommentBackgroundColor
{
    return [UIColor lightGrayColor];
}

@end
